-- cmd_start_dungeon
-- Create by panyl
-- 进入地牢

function Operation.cmd_start_dungeon(dungeonId, authId, extra)
    assert(type(authId) == "number" and authId > 0);

    -- 确保进入地牢前，所有的消息都同步完毕了
    SyncM.startSync();

    local v = {["dungeon_id"] = dungeonId, ["auth_id"] = authId, ["extra"] = extra or {} }
    Communicate.send("CMD_START_DUNGEON", v);
end
